package com.hs.telepass.ui;

import android.app.Activity;
import android.os.Bundle;
import android.webkit.WebView;

import com.hs.teleform.R;

import butterknife.ButterKnife;
import butterknife.InjectView;

/**
 * Created by dasunsy on 15/7/16.
 */
public class WebActivity extends Activity {
    public final static String URL = "url";
    @InjectView(R.id.wb)
    WebView wb;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activty_web);
        ButterKnife.inject(this);
        String url = getIntent().getStringExtra(URL);
        wb.loadUrl(url);
    }
}
